package com.xxxx.server.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author xingxing
 * @version 1.0
 * @date 2020/9/12 11:29
 */

@Data
@Component
@ConfigurationProperties(prefix = "ly.upload")
public class LyUploadFastDFSProperties {

    private String baseUrl;
    private List<String> allowTypes;
}